#define  _CRT_SECURE_NO_WARNINGS
#include "Stack.h"

void StackTest()
{
	ST s;
	InitStack(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);
	StackPush(&s, 3);
	StackPush(&s, 9);
	StackPush(&s, 5);

	StackPop(&s);

	STDataType ret =  StackTop(&s);
	printf("%d\n", ret);
	//int size = StackSize(&s);
	//printf("%d\n", size);
	
	StackDestroy(&s);
}


int main()
{
	StackTest();
	return 0;
}